<?
session_start();

//require_once $_SERVER['DOCUMENT_ROOT'].'/php/functions/check_user.php';
//$acces=CheckAuthAndRrights($_SESSION['u_auth'], $_SESSION['u_rule'], $_GET['op']);


//if ($acces)
//{
	$value=array('ru','en');
	print '
		<table align="left" border="0" cellpadding="5" cellspacing="0">
			<tr>
				<td colspan="2" align="center">
					<b>'._FORM_RIGHTS_NAME_ADD_.'</b>
				</td>
			</tr>
			<tr>
				<td align="right">
					<b>'._FORM_RIGHTS_PARAMETR_.'</b>
				</td>
				<td align="left">
					<input type="text" name="rights_param" id="rights_param">
				</td>
			</tr>
			<tr>
				<td align="right">
					<b>'._DESCRIPTION_.'</b>
				</td>
				<td align="left">';
					print $langsArray=LangsArray($_SESSION['option']['available_langs'], $_SESSION['option']['available_langs_desc'], 'langSelector', array('FormLangDiv', 'FormLangDivSelected','',''),'');
					print $langsArray=LangsArray($_SESSION['option']['available_langs'], $_SESSION['option']['available_langs_desc'], 'langsTextarea', array('rghtsForm','rghtsForm','50','5'),$value);
				print' </td>
			</tr>
			<tr>
				<td colspan="2" align="right">
					<input type="submit" value="'._ADDNEW_.'">
				</td>
			</tr>
		</table>
	';
//}else
//	print 'NEA';
	

?>